using System;

namespace Welcome
{
	/// <summary>
	/// Summary description for DrawingObjects.
	/// </summary>
	public class DrawingObject
	{
		public DrawingObject()
		{
			//
			// TODO: Add constructor logic here
			//
		}

		public virtual void draw()
		{
			Console.WriteLine("I'm just a generic drawing object");	
		}
	}

	public class Line : DrawingObject
	{
		public override void draw()
		{
			Console.WriteLine("I'm a line");
		}
	}

	public class Circle : DrawingObject
	{
		public override void draw()
		{
			Console.WriteLine("I'm a circle");
		}
	}

	public class Square : DrawingObject
	{
		public override void draw()
		{
			Console.WriteLine("I'm a square");
		}

	}
}
